Skip to main content

Week 6

Milestones

  • Added a controller with endpoint as _jwt in user application.
  • Added java-jwt library as dependency in user application.
  • Generated a jwt token from the username and password received in the request body.
  • Implemented post mapping of the controller to retrieve jwt-token by using DIGIT's API.
  • Wrote a documentation on java-jwt library and its working.

Screenshots / Videos

Contributions

Learnings

  • Learned about various contents of JWT such as creating, parsing and validating the same.
  • Worked with several JWT claims and validating its purpose.
  • Learned about JWT Algorithms along with token expiration and refreshing.
  • Learned about the security considerations while implementing it as a strong and secure key or private key for sining tokens.